package com.example.commandpattern.entity;

/**
 * @author ash
 * @description
 * @create 2023/2/22  22:08:58
 * @className ConcreteCommand
 * @verson 1.0.0
 */
public class ConcreteCommandA  extends Command{

    public ConcreteCommandA(Receiver receiver) {
        super(receiver);
    }

    @Override
    public void execute() {
        receiver.action1();
    }
}
